<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <title>新增用户</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <!-- page specific plugin styles -->
    <script src="__PUBLIC__/admin/js/jquery.min.js"></script>
    <script src="__PUBLIC__/admin/js/lodash.min.js"></script>
    <script src="__PUBLIC__/admin/js/moment.min.js"></script>
    <script src="__PUBLIC__/admin/js/zh-cn.js"></script>
    <script src="__PUBLIC__/admin/js/numeral.min.js"></script>
    <script src="__PUBLIC__/admin/js/toastr.min.js"></script>
    <script src="__PUBLIC__/admin/js/cookies.js"></script>
    <script src="__PUBLIC__/admin/js/knockout-min.js"></script>
    <script src="__PUBLIC__/admin/js/knockout.mapping.min.js"></script>
    <!--<script src="__PUBLIC__/admin/js/bootstrap-datetimepicker.min.js"></script>-->
    <script src="__PUBLIC__/admin/js/jquery.validate.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.unobtrusive.min.js"></script>
    <script src="__PUBLIC__/admin/js/clipboard.min.js"></script>
    <script src="__PUBLIC__/admin/js/select2.min.js"></script>
    <script src="__PUBLIC__/admin/js/admin.js"></script>
    <script>moment.locale('zh-cn');
      toastr.options.positionClass = 'toast-bottom-right';</script>
    <script src="__PUBLIC__/admin/js/ace-extra.min.js"></script>
    <link media="all" href="__PUBLIC__/admin/css/index04.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/glyphicons-halflings-regular.css">
    <!--<link href="__PUBLIC__/admin/dataTables/dataTables.bootstrap.css" rel="stylesheet" />--></head>
  
  <body class="no-skin">
    <!-- #section:basics/navbar.layout -->
    <include file="./Public/gong/title.html" />
    <div class="main-container" id="main-container">
      <script type="text/javascript">try {
          ace.settings.check('main-container', 'fixed')
        } catch(e) {}</script>
      <div id="sidebar" class="sidebar responsive">
        <script type="text/javascript">try {
            ace.settings.check('sidebar', 'fixed')
          } catch(e) {}</script>
        <include file="./Public/gong/list.html" />
        <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
          <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
        </div>
        <script type="text/javascript">try {
            ace.settings.check('sidebar', 'collapsed')
          } catch(e) {}</script>
      </div>
      <!-- /section:basics/sidebar -->
      <div class="main-content">
        <div class="breadcrumbs" id="breadcrumbs">
          <script type="text/javascript">try {
              ace.settings.check('breadcrumbs', 'fixed')
            } catch(e) {}</script>
          <ul class="breadcrumb">
            <li>
              <i class="ace-icon fa fa-home home-icon"></i>
              <a href="__APP__/Home/Index/index.html">Home</a></li>
            <li class="active">新增用户</li></ul>
          <!-- /.breadcrumb -->
          <!-- /section:basics/content.searchbox --></div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
          <div class="page-content-area">
            <div class="row">
              <div class="col-xs-12">
                <!-- PAGE CONTENT BEGINS -->
                <!--/span-->
                <!-- left menu ends -->
                
                <table class="table table-striped table-bordered responsive table-hover">
                <div style="text-align: left;">
                    <if condition="$itime == today "> 今日新增
                    <elseif condition="$itime == yesterday "/>昨日新增
                    <elseif condition="$itime == month" /> 本月新增
                    </if>
                    用户数：{$count}
                </div>
                  <thead>
                    <tr>
                      <td class="text-center">id</td>
                      <td class="text-center">昵称</td>
                      <td class="text-center">注册所在地</td>
                      <td class="text-center">身份</td>
                      <td class="text-center">书币</td>
                      <td class="text-center">头像</td>
                      <td class="text-center">手机号</td>
                      <td class="text-center">操作</td></tr>
                  </thead>
                  <tbody>
                    <volist name="users" id="vb">
                      <tr class="odd gradeX">
                        <td class="text-center">{$vb.id}</td>
                        <td class="text-center">{$vb.usernick}</td>
                        <td class="text-center">{$vb['reg_ip']|GetIpLookup}</td> 
                        <!--<td class="text-center">{$vb['reg_ip']}</td>-->

                        <td class="text-center">
                          <if condition="$vb['vip'] == 2 "> VIP
                          <elseif condition="$vb['vip'] == 1 "/>普通用户
                          <else /> 游客
                          </if>
                          <if condition="$vb['type'] == weixin">（微信）
                          <else>
                          </if>
                        </td>
                        <td class="text-center">{$vb.gold}</td>
                        <td class="text-center">
                          <img src="{$vb.img}" width="40" height="40">
                        </td>
                        <td class="text-center">{$vb.mobile}</td>
                        <td class="text-center">
                        <if condition="$vb['vip'] == 0 "> 
                          无需操作
                        <else /> 
                          <a href="__APP__/Admin/User/userdetails?id={$vb.id}" class="btn">查看用户信息</a>
                        </if>
                        </td>
                      </tr>
                    </volist>
                  </tbody>
                </table>
                <div class="pager">{$page}</div>
                
                <!-- PAGE CONTENT ENDS --></div>
              <!-- /.col --></div>
            <!-- /.row --></div>
          <!-- /.page-content-area --></div>
        <!-- /.page-content --></div>
      <!-- /.main-content --></div>
    <!-- /.main-container -->
    <!--<script src="__PUBLIC__/admin/js/bootstrap.min.js"></script>-->
    <script src="__PUBLIC__/admin/js/jquery.webui-popover.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.ui.widget.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.fileupload.min.js"></script>
    <script src="__PUBLIC__/admin/js/ace-elements.min.js"></script>
    <script src="__PUBLIC__/admin/js/ace.min.js"></script>
    <script src="elements.onpage-help.js"></script>
    <script src="ace.onpage-help.js"></script>
    <script src="__PUBLIC__/admin/dataTables/jquery.dataTables.js"></script>
    <!--<script src="__PUBLIC__/admin/dataTables/dataTables.bootstrap.js"></script>-->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- <script>
    $(document).ready(function () {
    $('#dataTables-example').dataTable();
    });
    </script>-->
    <script>function jpush(id, title) {
        console.log(title);
        $('#bookid').val(id);
        $('#title').val(title);
      }</script>
  </body>

</html>